
package com.joolun.cloud.mall.common.config;

import com.joolun.cloud.mall.common.entity.Logistics;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 商城相关配置
 *
 * @author
 */
@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "base.mall")
public class MallConfigProperties {

	/**
	 * 支付、物流回调地址域名，注：快递100不支持https回调
	 */
	private String notifyHost;

	/**
	 * 快递100授权key
	 */
	private String logisticsKey;

	/**
	 * 用户默认头像
	 */
	private String userDefaultAvatar;

	/**
	 * 物流公司
	 */
	private List<Logistics> logistics;
}
